#pragma once


#include "IXTimer.h"

namespace TimerUtil
{
    ExportXSkinLib UINT_PTR SetTimer(IXTimer* pTimer, UINT uElapse, void* pData);
    ExportXSkinLib UINT_PTR SetAsyncTimer(IXTimer* pTimer, UINT uElapse, void* pData);

    ExportXSkinLib UINT_PTR ResetTimer(UINT_PTR uId, UINT uElapse);
    ExportXSkinLib void*    ResetTimer(UINT_PTR uId, void* pData);
    ExportXSkinLib IXTimer* ResetTimer(UINT_PTR uId, IXTimer* pTimer);

    ExportXSkinLib BOOL     KillTimer(UINT_PTR uId);
    ExportXSkinLib BOOL     KillTimer(IXTimer* pTimer);
}